package com.example.dormitory_system.service;

import com.example.dormitory_system.domain.dto.sysuser.BuildingDTO;
import com.example.dormitory_system.domain.enetiy.Building;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.dormitory_system.domain.vo.sysuser.BuildingListVO;
import com.example.dormitory_system.domain.vo.sysuser.RoomListVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
* @author keenan
* @description 针对表【tb_building(楼栋表)】的数据库操作Service
* @createDate 2025-03-26 15:28:20
*/
public interface BuildingService extends IService<Building> {

    void importBuildings(MultipartFile file)throws IOException;

    int updateBuilding(BuildingDTO buildingDTO);

    List<BuildingListVO> sysListBuilding(Integer pageNum, Integer pageSize);
}